package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the YZR_MED_ALLOCATION_DET database table.
 * 
 */
@Entity
@Table(name="YZR_MED_ALLOCATION_DET")
@NamedQuery(name="YzrMedAllocationDet.findAll", query="SELECT y FROM YzrMedAllocationDet y")
public class YzrMedAllocationDet implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	/*@SequenceGenerator(allocationSize=1,name="YZR_MED_ALLOCATION_DET_MEDALLODETID_GENERATOR", sequenceName="SEQHIS")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="YZR_MED_ALLOCATION_DET_MEDALLODETID_GENERATOR")*/
	@Column(name="MED_ALLO_DET_ID")
	private String medAlloDetId;

	@Column(name="MED_ALLO_DET_ALLOCATION_ID")
	private String medAlloDetAllocationId;

	@Column(name="MED_ALLO_DET_BAOZHIQI")
	private String medAlloDetBaozhiqi;

	@Column(name="MED_ALLO_DET_BATCHNUMBER")
	private String medAlloDetBatchnumber;

	@Column(name="MED_ALLO_DET_GUIGE")
	private String medAlloDetGuige;

	@Column(name="MED_ALLO_DET_MED_ID")
	private String medAlloDetMedId;

	@Column(name="MED_ALLO_DET_MED_NAME")
	private String medAlloDetMedName;

	@Column(name="MED_ALLO_DET_MONEY")
	private BigDecimal medAlloDetMoney;

	@Column(name="MED_ALLO_DET_NUMBER")
	private BigDecimal medAlloDetNumber;

	@Column(name="MED_ALLO_DET_PRICE")
	private BigDecimal medAlloDetPrice;

	@Temporal(TemporalType.DATE)
	@Column(name="MED_ALLO_DET_SHENGCHANRIQI")
	private Date medAlloDetShengchanriqi;

	public YzrMedAllocationDet() {
	}

	public String getMedAlloDetId() {
		return this.medAlloDetId;
	}

	public void setMedAlloDetId(String medAlloDetId) {
		this.medAlloDetId = medAlloDetId;
	}

	public String getMedAlloDetAllocationId() {
		return this.medAlloDetAllocationId;
	}

	public void setMedAlloDetAllocationId(String medAlloDetAllocationId) {
		this.medAlloDetAllocationId = medAlloDetAllocationId;
	}

	public String getMedAlloDetBaozhiqi() {
		return this.medAlloDetBaozhiqi;
	}

	public void setMedAlloDetBaozhiqi(String medAlloDetBaozhiqi) {
		this.medAlloDetBaozhiqi = medAlloDetBaozhiqi;
	}

	public String getMedAlloDetBatchnumber() {
		return this.medAlloDetBatchnumber;
	}

	public void setMedAlloDetBatchnumber(String medAlloDetBatchnumber) {
		this.medAlloDetBatchnumber = medAlloDetBatchnumber;
	}

	public String getMedAlloDetGuige() {
		return this.medAlloDetGuige;
	}

	public void setMedAlloDetGuige(String medAlloDetGuige) {
		this.medAlloDetGuige = medAlloDetGuige;
	}

	public String getMedAlloDetMedId() {
		return this.medAlloDetMedId;
	}

	public void setMedAlloDetMedId(String medAlloDetMedId) {
		this.medAlloDetMedId = medAlloDetMedId;
	}

	public String getMedAlloDetMedName() {
		return this.medAlloDetMedName;
	}

	public void setMedAlloDetMedName(String medAlloDetMedName) {
		this.medAlloDetMedName = medAlloDetMedName;
	}

	public BigDecimal getMedAlloDetMoney() {
		return this.medAlloDetMoney;
	}

	public void setMedAlloDetMoney(BigDecimal medAlloDetMoney) {
		this.medAlloDetMoney = medAlloDetMoney;
	}

	public BigDecimal getMedAlloDetNumber() {
		return this.medAlloDetNumber;
	}

	public void setMedAlloDetNumber(BigDecimal medAlloDetNumber) {
		this.medAlloDetNumber = medAlloDetNumber;
	}

	public BigDecimal getMedAlloDetPrice() {
		return this.medAlloDetPrice;
	}

	public void setMedAlloDetPrice(BigDecimal medAlloDetPrice) {
		this.medAlloDetPrice = medAlloDetPrice;
	}

	public Date getMedAlloDetShengchanriqi() {
		return this.medAlloDetShengchanriqi;
	}

	public void setMedAlloDetShengchanriqi(Date medAlloDetShengchanriqi) {
		this.medAlloDetShengchanriqi = medAlloDetShengchanriqi;
	}

}